﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Main" Runat="Server">
<div id="content">
        <div class="one">
            <div class="one-fourth">
                <ul class="simple-nav">
                    <li><a class="current">Login</a></li>
                    <p>Please enter your username and password to login.</p>
                </ul>
            </div>
            <div class="inner-content last">
                <div class="two-thirds">
                    <form method="post" runat="server" id="login_form">
                    <input type="hidden" name="form_name" value="login_form" />
                    <fieldset>
                        <label>
                            Username: <span class="required">*</span></label>
                        <asp:TextBox ID="Username" runat="server" class="text requiredField"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="Validate_Username" runat="server" 
                            ErrorMessage="*Please enter your username" class="error" 
                            ControlToValidate="Username"></asp:RequiredFieldValidator>
                    </fieldset>
                    <fieldset>
                        <label>
                            Password: <span class="required">*</span></label>
                        <asp:TextBox ID="Password" runat="server" class="text requiredField" TextMode="Password"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="Validate_Password" runat="server" 
                            ErrorMessage="*Please enter a password" class="error" 
                            ControlToValidate="Password"></asp:RequiredFieldValidator>
                    </fieldset>
                    <fieldset>
                        <asp:Button ID="Login_Button" runat="server" Text="Login" 
                            class="button big blue" onclick="Login_Button_Click" />
                    </fieldset>
                    <asp:TextBox ID="Result" runat="server" class="text requiredField" 
                        ReadOnly="True" TextMode="SingleLine" BorderColor="White" Font-Bold="False" 
                        Width="200px" ForeColor="Red"></asp:TextBox>
                    </form>
                </div>
            </div>
        </div>
    </div>
</asp:Content>

